﻿<%@ Page Title="" Language="C#" MasterPageFile="~/BaseInfoMaster.master" AutoEventWireup="true"
    CodeFile="ViewDetailConsumer.aspx.cs" Inherits="ConsumerManage_ViewDetailConsumer" %>

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v10.2.Linq, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Data.Linq" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>
<asp:Content ID="headContent" ContentPlaceHolderID="head" runat="server">
    <link type="text/css" rel="stylesheet" href="../Content/Site.css" />
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <h1 class="DemoTitle">
        客户[<%= (Frame.Pages.RefrenceContext<DAL.BI_Consumer>.Current == null ? string.Empty : (Frame.Pages.RefrenceContext<DAL.BI_Consumer>.Current.Model.CName))%>]
        快捷操作
        <asp:HyperLink ID="Backlink" runat="server" NavigateUrl="~/ConsumerManage/ConsumerQuick.aspx" Text="返回"></asp:HyperLink>
    </h1>
    <div id="DemoArea">
        <div class="Spacer" style="height: 14px;">
        </div>
        <div style="margin-left: 10px">
            <dx:ASPxRoundPanel ID="Detailpanel" runat="server" Width="600px" HeaderText="客户基本信息"
                Font-Size="10pt" CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx"
                EnableDefaultAppearance="False" GroupBoxCaptionOffsetX="6px" GroupBoxCaptionOffsetY="-19px"
                SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css">
                <ContentPaddings PaddingBottom="10px" PaddingLeft="7px" PaddingRight="11px" PaddingTop="10px" />
                <HeaderStyle>
                    <Paddings PaddingBottom="6px" PaddingLeft="7px" PaddingRight="11px" PaddingTop="1px" />
                </HeaderStyle>
                <PanelCollection>
                    <dx:PanelContent ID="PanelContent1" runat="server" SupportsDisabledAttribute="True">
                        <table width="100%" style="font-size: 10pt">
                            <tr>
                                <td style="white-space: nowrap">
                                    客户姓名:
                                </td>
                                <td>
                                    <dx:ASPxLabel Width="200px" ID="View_CName" Wrap="true" runat="server" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                        CssPostfix="DevEx">
                                    </dx:ASPxLabel>
                                </td>
                                <td style="white-space: nowrap">
                                    手机号:
                                </td>
                                <td>
                                    <dx:ASPxLabel Width="200px" ID="View_PhoneNum" Wrap="true" runat="server" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                        CssPostfix="DevEx">
                                    </dx:ASPxLabel>
                                </td>
                            </tr>
                            <tr>
                                <td style="white-space: nowrap">
                                    部门:
                                </td>
                                <td>
                                    <dx:ASPxLabel Width="200px" ID="View_Department" Wrap="true" runat="server" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                        CssPostfix="DevEx">
                                    </dx:ASPxLabel>
                                </td>
                                <td style="white-space: nowrap">
                                    性别:
                                </td>
                                <td>
                                    <dx:ASPxLabel Width="200px" ID="View_Sex" Wrap="true" runat="server" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                        CssPostfix="DevEx">
                                    </dx:ASPxLabel>
                                </td>
                            </tr>
                            <tr>
                                <td style="white-space: nowrap">
                                    车牌/车名/颜色:
                                </td>
                                <td>
                                    <dx:ASPxLabel Width="200px" ID="View_Car" Wrap="true" runat="server" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                        CssPostfix="DevEx">
                                    </dx:ASPxLabel>
                                </td>
                                <td style="white-space: nowrap">
                                    重要客户:
                                </td>
                                <td>
                                    <dx:ASPxLabel Width="200px" ID="View_IsVip" Wrap="true" runat="server" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                        CssPostfix="DevEx">
                                    </dx:ASPxLabel>
                                </td>
                            </tr>
                            <tr>
                                <td style="white-space: nowrap">
                                    关联单位:
                                </td>
                                <td>
                                    <dx:ASPxLabel Width="200px" ID="View_RefrenceCompany_ID" Wrap="true" runat="server"
                                        CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx">
                                    </dx:ASPxLabel>
                                </td>
                                <td style="white-space: nowrap">
                                    职位，头衔:
                                </td>
                                <td>
                                    <dx:ASPxLabel Width="200px" ID="View_Position" Wrap="true" runat="server" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                        CssPostfix="DevEx">
                                    </dx:ASPxLabel>
                                </td>
                            </tr>
                            <tr>
                                <td style="white-space: nowrap">
                                    单位名称:
                                </td>
                                <td colspan="3">
                                    <dx:ASPxLabel Width="400px" ID="View_Company" Wrap="true" runat="server" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                        CssPostfix="DevEx">
                                    </dx:ASPxLabel>
                                </td>
                            </tr>
                            <tr>
                                <td style="white-space: nowrap">
                                    地址:
                                </td>
                                <td colspan="3">
                                    <dx:ASPxLabel Width="400px" ID="View_Address" Wrap="true" runat="server" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                        CssPostfix="DevEx">
                                    </dx:ASPxLabel>
                                </td>
                            </tr>
                            <tr>
                                <td style="white-space: nowrap">
                                    喜好，口味:
                                </td>
                                <td colspan="3">
                                    <dx:ASPxLabel Width="400px" ID="View_Favor" Wrap="true" runat="server" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                        CssPostfix="DevEx">
                                    </dx:ASPxLabel>
                                </td>
                            </tr>
                            <tr>
                                <td style="white-space: nowrap">
                                    备注:
                                </td>
                                <td colspan="3">
                                    <dx:ASPxLabel Width="400px" ID="View_Remark" Wrap="true" runat="server" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                        CssPostfix="DevEx">
                                    </dx:ASPxLabel>
                                </td>
                            </tr>
                        </table>
                        <table>
                            <tr>
                                <td>
                                    <dx:ASPxButton ID="btnBook" runat="server" Font-Size="10pt" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                        CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" 
                                        Text="预定管理" CommandName="Book" OnClick="btn_Click">
                                    </dx:ASPxButton>
                                </td>
                                <td>
                                    <dx:ASPxButton ID="btnHis" runat="server" Font-Size="10pt" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                        CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css"
                                        OnClick="btn_Click" CommandName="His" Text="消费管理">
                                    </dx:ASPxButton>
                                </td>
                                <td>
                                    <dx:ASPxButton ID="btnReturnVisit" runat="server" Font-Size="10pt" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                        CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css"
                                        OnClick="btn_Click" CommandName="Return" Text="回访">
                                    </dx:ASPxButton>
                                </td>
                                <td>
                                    <dx:ASPxButton ID="btnAnalysis" runat="server" Font-Size="10pt" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                        CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css"
                                        OnClick="btn_Click" CommandName="Analysis" Text="客户消费习惯分析">
                                    </dx:ASPxButton>
                                </td>
                                <td>
                                    <dx:ASPxButton ID="btnPoint" runat="server" Font-Size="10pt" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                        CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css"
                                        OnClick="btn_Click" CommandName="Point" Text="积分管理">
                                    </dx:ASPxButton>
                                </td>
                            </tr>
                        </table>
                    </dx:PanelContent>
                </PanelCollection>
            </dx:ASPxRoundPanel>
        </div>
    </div>
</asp:Content>
